package com.evergrande.mybatis.pojo;

import com.evergrande.mybatis.model.NavTreeDto;

import java.util.List;

/**
 * Created by cuican on 2016-8-17.
 *
 * 用于传输easyUI的 Tree node 数据
 */
public class EasyUITree {
    private Integer id;
    private String text;
    private String state;
    private String iconcls;
    private String url;
    private List<NavTreeDto> children;

    public EasyUITree() {
    }

    public EasyUITree(Integer id, String text, String state, String iconcls, String url, List<NavTreeDto> children) {
        this.id = id;
        this.text = text;
        this.state = state;
        this.iconcls = iconcls;
        this.url = url;
        this.children = children;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getText() {
        return text;
    }

    public void setText(String text) {
        this.text = text;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getIconcls() {
        return iconcls;
    }

    public void setIconcls(String iconcls) {
        this.iconcls = iconcls;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public List<NavTreeDto> getChildren() {
        return children;
    }

    public void setChildren(List<NavTreeDto> children) {
        this.children = children;
    }
}
